package com.csot.ry.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.csot.common.annotation.Excel;
import com.csot.common.core.domain.BaseEntity;

/**
 * 城市ip段对象 t_city_segment
 * 
 * @author 刘沙
 * @date 2022-06-17
 */
public class TCitySegment extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;

	/** 起始地址 */
	@Excel(name = "起始地址")
	private String ipStart;

	/** 起始地址整型 */
//	@Excel(name = "起始地址整型")
	private Long ipStartI;

	/** 终止地址 */
	@Excel(name = "终止地址")
	private String ipEnd;

	/** 终止地址整型 */
//	@Excel(name = "终止地址整型")
	private Long ipEndI;

	/** 网络分类 */
	@Excel(name = "网络分类")
	private String ipType;

	/** 用途分类 */
	@Excel(name = "用途分类")
	private String ipUseType;

	/** 使用地市 */
	@Excel(name = "使用地市")
	private String ipCity;

	/** IP地址责任人 */
	@Excel(name = "IP地址责任人")
	private String ipUser;

	/** 管理部门 */
	@Excel(name = "管理部门")
	private String ipManagement;

	/** 设备名称 */
	@Excel(name = "设备名称")
	private String ipEquipment;

	/** 用户名称 */
	@Excel(name = "用户名称")
	private String ipUsername;

	/** 端口 */
	@Excel(name = "端口")
	private String port;

	/** 网关IP */
	@Excel(name = "网关IP")
	private String ipGateway;

	/** 业务号码 */
	@Excel(name = "业务号码")
	private String businessNumber;

	/** 申请人 */
//	@Excel(name = "申请人")
	private String ipProposer;

	/** 申请单 */
//	@Excel(name = "申请单")
	private String ipApplication;

	/** 备案状态 */
	@Excel(name = "备案状态")
	private String recordStatus;

	/** 备案类型 */
	@Excel(name = "备案类型")
	private String recordType;

	/** 使用状态 */
	@Excel(name = "使用状态")
	private String ipStatus;



	/** 子网 */
	@Excel(name = "子网")
	private String ipSubnet;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setIpStart(String ipStart) {
		this.ipStart = ipStart;
	}

	public String getIpStart() {
		return ipStart;
	}

	public void setIpStartI(Long ipStartI) {
		this.ipStartI = ipStartI;
	}

	public Long getIpStartI() {
		return ipStartI;
	}

	public void setIpEnd(String ipEnd) {
		this.ipEnd = ipEnd;
	}

	public String getIpEnd() {
		return ipEnd;
	}

	public void setIpEndI(Long ipEndI) {
		this.ipEndI = ipEndI;
	}

	public Long getIpEndI() {
		return ipEndI;
	}

	public void setIpType(String ipType) {
		this.ipType = ipType;
	}

	public String getIpType() {
		return ipType;
	}

	public void setIpUseType(String ipUseType) {
		this.ipUseType = ipUseType;
	}

	public String getIpUseType() {
		return ipUseType;
	}

	public void setIpCity(String ipCity) {
		this.ipCity = ipCity;
	}

	public String getIpCity() {
		return ipCity;
	}

	public void setIpUser(String ipUser) {
		this.ipUser = ipUser;
	}

	public String getIpUser() {
		return ipUser;
	}

	public void setIpManagement(String ipManagement) {
		this.ipManagement = ipManagement;
	}

	public String getIpManagement() {
		return ipManagement;
	}

	public void setIpEquipment(String ipEquipment) {
		this.ipEquipment = ipEquipment;
	}

	public String getIpEquipment() {
		return ipEquipment;
	}

	public void setIpGateway(String ipGateway) {
		this.ipGateway = ipGateway;
	}

	public String getIpGateway() {
		return ipGateway;
	}

	public void setIpStatus(String ipStatus) {
		this.ipStatus = ipStatus;
	}

	public String getIpStatus() {
		return ipStatus;
	}

	public void setIpProposer(String ipProposer) {
		this.ipProposer = ipProposer;
	}

	public String getIpProposer() {
		return ipProposer;
	}

	public void setIpApplication(String ipApplication) {
		this.ipApplication = ipApplication;
	}

	public String getIpApplication() {
		return ipApplication;
	}

	public void setRecordStatus(String recordStatus) {
		this.recordStatus = recordStatus;
	}

	public String getRecordStatus() {
		return recordStatus;
	}

	public void setRecordType(String recordType) {
		this.recordType = recordType;
	}

	public String getRecordType() {
		return recordType;
	}

	public void setIpUsername(String ipUsername) {
		this.ipUsername = ipUsername;
	}

	public String getIpUsername() {
		return ipUsername;
	}

	public void setIpSubnet(String ipSubnet) {
		this.ipSubnet = ipSubnet;
	}

	public String getIpSubnet() {
		return ipSubnet;
	}
	public void setPort(String port)
	{
		this.port = port;
	}

	public String getPort()
	{
		return port;
	}
	public void setBusinessNumber(String businessNumber)
	{
		this.businessNumber = businessNumber;
	}

	public String getBusinessNumber()
	{
		return businessNumber;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("ipStart", getIpStart()).append("ipStartI", getIpStartI()).append("ipEnd", getIpEnd())
				.append("ipEndI", getIpEndI()).append("ipType", getIpType()).append("ipUseType", getIpUseType())
				.append("ipCity", getIpCity()).append("ipUser", getIpUser()).append("ipManagement", getIpManagement())
				.append("ipEquipment", getIpEquipment()).append("ipGateway", getIpGateway())
				.append("ipStatus", getIpStatus()).append("ipProposer", getIpProposer())
				.append("ipApplication", getIpApplication()).append("recordStatus", getRecordStatus())
				.append("recordType", getRecordType()).append("ipUsername", getIpUsername())
				.append("ipSubnet", getIpSubnet()).append("createBy", getCreateBy())
				.append("createTime", getCreateTime()).append("updateBy", getUpdateBy())
				.append("updateTime", getUpdateTime()).append("remark", getRemark())
				.append("port", getPort())
				.append("businessNumber", getBusinessNumber())
				.toString();
	}
}
